.fl {
  float: left;
}
.fr {
  float: right;
}
.clearFixed {
  content: "";
  display: block;
  clear: both;
}
#main {
  font-size: 12px;
  .conTop {
    width: 100%;
    background-color: #f0f0f0;
    .topBan {
      width: 1200px;
      margin: 0 auto;
      height: 60px;
      .comefrom {
      }
      .compare {
        margin-top: 8px;
        .tip {
          margin-top: 5px;
          vertical-align: middle;
        }
        .proList {
          // width: px;
          height: 32px;
          vertical-align: middle;
          dd {
            float: left;
            margin-left: 5px;
            width: 40px;
            height: 30px;
            border: 1px dashed #bfbfbf;
          }
        }
        .btn {
          width: 70px;
          height: 30px;
          margin-left: 15px;
          vertical-align: middle;
        }
      }
    }
  }
  // 商品详情栏
  .liCon {
    width: 100%;
    background-color: #f0f0f0;
    .ulLine {
      width: 100%;
      height: 36px;
      z-index: 9999;
      // background-color: cadetblue;
      .tab {
        width: 1200px;
        height: 36px;
        margin: 0 auto;
        li {
          float: left;
          // width: 102px;
          height: 36px;
          line-height: 36px;
          text-align: center;
          color: #787878;
          background-color: #f0f0f0;
          padding: 0px 23px;
          cursor: pointer;
        }
        .add {
          float: right;
          display: none;
          cursor: pointer;
          position: relative;
          img {
            vertical-align: middle;
          }
        }
        .goods {
          display: none;
          position: absolute;
          right: 0px;
          top: 36px;
          width: 300px;
          height: 100px;
          border: 1px solid #000;
          img {
            width: 125px;
            height: 90px;
          }
        }
        .active {
          background-color: #fff;
          color: #000;
          border-top: 3px solid #f87500;
          box-sizing: border-box;
          font-weight: bold;
        }
        .liFixed {
          background-color: #606982;
          color: #fff;
        }
      }
    }
    // // 滚动后固定的样式
    // .lineFixed {
    //   position: fixed;
    //   top: 0px;
    //   left: 0px;
    //   background-color: #606982;
    // }

    .details {
      // tab栏
      background-color: #fff;
      .proCon-details {
        width: 1200px;
        margin: 0 auto;
        .detail-item {
          display: none;
          .txts {
            height: 614px;
            border-bottom: 1px solid #dadada;
            .title {
              padding: 30px 0 8px 0;
              margin-left: 480px;
              font-size: 20px;
              color: #000;
              font-weight: bold;
            }
            .txtCon-attrs {
              width: 980px;
              padding-right: 20px;
              box-sizing: border-box;
              .imgBox {
                width: 450px;
                height: 480px;
                position: relative;
                .imgInner {
                  width: 450px;
                  height: 480px;
                  padding: 20px 0;
                  position: relative;
                  overflow: hidden;
                  .middle-pic {
                    width: 100%;
                    height: 380px;
                    overflow: hidden;
                    img {
                      width: 450px;
                      height: 338px;
                    }
                    li {
                      // position: absolute;
                      width: 100%;
                      height: 380px;
                      display: none;
                    }
                    .active {
                      display: block;
                    }
                  }
                  .small-pic {
                    position: relative;
                    width: 100%;
                    height: 64px;
                    .smallInner {
                      width: 360px;
                      height: 64px;
                      margin: 0 auto;
                      overflow: hidden;
                      position: relative;
                      ul {
                        width: 200%;
                        position: absolute;
                        img {
                          width: 80px;
                          height: 60px;
                        }
                        li {
                          float: left;
                          width: 80px;
                          height: 60px;
                          margin: 0 4px;
                        }
                        .selected {
                          border: 2px solid #ff6600;
                        }
                      }
                    }
                    .arr {
                      span {
                        position: absolute;
                        top: 50%;
                        margin-top: -20px;
                        left: 15px;
                        display: inline-block;
                        width: 30px;
                        height: 60px;
                        font-size: 30px;
                        opacity: 0.3;
                        cursor: pointer;
                      }
                      .arrRight {
                        right: 15px;
                        left: auto;
                      }
                    }
                  }
                }
              }

              .itemAttr {
                margin-left: 30px;
                .line {
                  font-size: 14px;
                  color: #484848;
                  padding: 8px 0;
                  label {
                    display: inline-block;
                    width: 70px;
                  }

                  .doll {
                    font-weight: bold;
                    color: #f7661f;
                  }
                  .price {
                    font-size: 28px;
                    font-weight: bold;
                    color: #f7661f;
                  }

                  // .title {
                  //   font-size: 20px;
                  //   color: #000;
                  // }
                }

                .support {
                  a {
                    //   display: block;
                  }
                  .no-support {
                    display: block;
                    margin-left: 75px;
                  }
                }

                .models,
                .colors {
                  display: inline-block;
                  color: #666;
                  span {
                    border: 1px solid #bfbfbf;
                    padding: 4px 5px;
                    margin: 0 2px;
                    cursor: pointer;
                  }
                  .active {
                    border: 1px solid #ff6600;
                  }
                }
                .number {
                  display: inline-block;
                  // width: 120px;
                  height: 28px;
                  input {
                    border: 1px solid #bfbfbf;
                  }
                  span {
                    border: 1px solid #bfbfbf;

                    display: inline-block;
                  }
                  .decrease,
                  .increase {
                    width: 24px;
                    height: 28px;
                    text-align: center;
                    line-height: 24px;
                    cursor: pointer;
                  }
                  .count {
                    width: 70px;
                    height: 28px;
                    line-height: 28px;
                    text-align: center;
                    border-left: 1px solid #bfbfbf;
                    border-right: 1px solid #bfbfbf;
                  }
                }

                //   立即购买 加购按钮
                .opration {
                  margin-top: 20px;
                  width: 450px;
                  height: 136px;
                  background-color: #f0f0f0;
                  padding: 19px;
                  box-sizing: border-box;
                  div {
                    display: inline-block;
                    cursor: pointer;
                  }
                  .opt {
                    margin-bottom: 18px;
                    width: 200px;
                    height: 47px;
                    line-height: 47px;
                    text-align: center;
                    color: #fff;
                    font-size: 18px;
                  }
                  .buy {
                    background-color: #ff6600;
                    margin-right: 3px;
                  }
                  .toCart {
                    background-color: #1c429a;
                  }
                  .toLove {
                    width: 80px;
                    height: 32px;
                    background-color: #fff;
                    color: #000;
                    line-height: 32px;
                    text-align: center;
                    border: 1px solid #bfbfbf;
                    vertical-align: top;
                  }
                  .loved {
                    width: 80px;
                    height: 32px;
                    background-color: #fff;
                    border: 1px solid #bfbfbf;
                    //   vertical-align: top;

                    .spa1 {
                      display: inline-block;
                      width: 40px;
                      text-align: center;
                      line-height: 32px;
                      font-size: 24px;
                      color: #ff6600;
                      background-color: #f0f0f0;
                    }
                    .spa2 {
                      color: #ac1816;
                      margin-left: 10px;
                      line-height: 32px;
                      margin-top: 5px;
                    }
                  }
                  .min {
                    padding: 4px 30px 4px 9px;
                    border: 1px solid #bfbfbf;
                    background-color: #fff;
                    vertical-align: top;
                    // width:
                    img {
                      vertical-align: top;
                    }
                  }
                }
              }
            }
            .txtCon-extend {
              width: 200px;
              height: 536px;
              padding: 0 0 14px 8px;
              box-sizing: border-box;
              border-left: 1px solid #dadada;
              .deNotice {
                border-bottom: 1px solid #dadada;
                padding-bottom: 10px;
                span {
                  border: 1px solid #dadada;
                }
              }
              .grade {
                padding: 16px 0;
                border-bottom: 1px solid #dadada;
                span {
                  display: inline-block;
                  margin-bottom: 16px;
                  margin-right: 14px;
                  font-size: 24px;
                  font-weight: bold;
                  color: #f7661f;
                }
              }
              .qrcode {
                width: 74px;
                margin: 20px auto;
                position: relative;
                img {
                  display: block;
                  cursor: pointer;
                }
                .bigImgCode{
                  display: none;
                  position: absolute;
                  left: -152px;
                  top:0px;
                  width: 222px;
                  height: 222px;
                }
                p {
                  line-height: 20px;
                  margin-top: 10px;
                }
              }
            }
          }
          .pic {
            .friendly {
              float: right;
              width: 100%;
              display: block;
              height: 38px;
              line-height: 38px;
              text-align: right;
            }
            img {
              display: block;
            }
            .pname {
              font-weight: bold;
              font-size: 28px;
              color: #484848;
              margin: 36px 0 36px 12px;
            }
          }
        }
        .selected {
          display: block;
        }
      }
    }
  }
}
